package com.gxa.modules.model.entity.hospital;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 体检结果信息
 * </p>
 *
 * @author yjl
 * @since 2022-11-14 09:52:17
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("t_indicator")
@ApiModel(value = "Indicator对象", description = "体检结果信息")
public class Indicator implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("套餐详情id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("指标名称")
    @TableField("name")
    private String name;

    @ApiModelProperty("指标结果")
    @TableField("result")
    private String result;

    @ApiModelProperty("创建时间")
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty("项目id")
    @TableField("items_id")
    private Integer itemsId;

    @ApiModelProperty("报告id")
    @TableField("report_id")
    private Integer reportId;

    @ApiModelProperty("正常范围")
    @TableField("normal_range")
    private String normalRange;

    @ApiModelProperty("外键，患者ID")
    @TableField("patient_id")
    private Integer patientId;

    @ApiModelProperty("检查类型：0 一般检查，1 内科检查，2 外科检查，3 血常规，4 尿常规，5 肝功能常规，6 肾功能常规 ，7 腹部多普勒肩检查，8 尿检 ")
    @TableField("examine_type")
    private Integer examineType;


}
